<html>
<style>
    a {
        display: block;
        border: 1px dotted red;
        margin: 15px;
        padding: 10px;
        text-decoration: none;
        color: red;
    }
</style>
<body>
<h1>不支持多级分类</h1>
{% for category in list %}
    <a href='{{ url('/book/category',['id':category.id]) }}'>{{ category.name }} - 手册</a>
{% endfor %}
</body>
</html>